package cn.kgc.service;

import cn.kgc.entity.Student;
import cn.kgc.entity.Teacher;

import java.util.List;

public interface StudentService {
    //查询方法
    List<Student> searchs(int currentPage,int currentSize,String stunum,String name,String specialty);
    //    计算总的记录数
    int totalCount(String stunum,String name,String specialty);
    //计算总页数
    int totalPage(int pageSize,String stunum,String name,String specialty);
    //增加的方法
    int add(Student student);

    //根据id查找student
    Student findById(String ids);
    //修改student获取影响行数
    int modifyStudent(Student student);
}
